package com.demo.core.model;

import com.demo.core.model.support.SimpleBaseModel;

/**
 * 统计模型
 * @author ryuu.kk
 *
 */
public class Record extends SimpleBaseModel implements java.io.Serializable {

	/**
	 * 版本序列化ID
	 */
	private static final long serialVersionUID = 7023468877185755399L;

	/**
	 * 站点ID
	 */
	private Long siteId;
	
	/**
	 * 对象ID
	 */
	private Long objectId;
	
	/**
	 * 对象类型
	 */
	private String objectType;
	
	/**
	 * 统计个数
	 */
	private Integer count;
	
	/**
	 * 统计类型
	 * 访问统计、顶、踩等
	 */
	private byte type;

	public Long getSiteId() {
		return siteId;
	}

	public void setSiteId(Long siteId) {
		this.siteId = siteId;
	}

	public Long getObjectId() {
		return objectId;
	}

	public void setObjectId(Long objectId) {
		this.objectId = objectId;
	}

	public String getObjectType() {
		return objectType;
	}

	public void setObjectType(String objectType) {
		this.objectType = objectType;
	}

	public Integer getCount() {
		return count;
	}

	public void setCount(Integer count) {
		this.count = count;
	}

	public byte getType() {
		return type;
	}

	public void setType(byte type) {
		this.type = type;
	}
}